import request from '../utils/request';

// 通过商品id查询商品的评论
export const selectEvaluate = (ddd) => {
    return request({
        url: '/select_evaluate',
        method: 'post',
        data:ddd,
    });
};
// 添加评论
export const addEvaluate = (ddd) => {
    return request({
        url: '/add_evaluate',
        method: 'post',
        data:ddd,
    });
};
// 修改评论
export const updatEvaluate = (ddd) => {
    return request({
        url: '/update_evaluate',
        method: 'post',
        data:ddd,
    });
};

